package com.design.marketPrj.application.controller;

import com.alibaba.fastjson.JSONObject;
import com.design.marketPrj.application.service.ExcludeDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/api")
@Controller
public class ExcludeDataController {

    @Autowired
    ExcludeDataService excludeDataService;

    @RequestMapping("/getProductDetail")
    public JSONObject getProductDetail(String code, String startDate){
        return excludeDataService.getProductDetail(code,startDate);
    }

}
